import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import fenye from "@/components/fenye"
import home from "@/components/home"
import marketing from "@/components/marketing"
import found from "@/components/found"
import foundspell from "@/components/foundspell"
import wxmarket from "@/components/wxmarket"
import coupon from "@/components/coupon_details"
import member from "@/components/member"
import membership from "@/components/membership"
import shortnews from "@/components/shortnews"
import qrcode from "@/components/qrcode"
import writeoffquery from "@/components/writeoffquery"
import mysign_up from "@/components/mysign_up"
import pactivity from "@/components/pactivity"
import shopinfor from "@/components/shopinfor"
import security from "@/components/security"
import modifymember from "@/components/modifymember"
import participated from "@/components/participated"

Vue.use(Router)

export default new Router({
  routes: [
     {
      path: '/participated',
      name: 'participated',
      component: participated
    },
     {
      path: '/wxmarket',
      name: 'wxmarket',
      component: wxmarket
    },
    {
      path: '/marketing',
      name: marketing,
      component:marketing,
    },
    {
      path: '/fenye',
      name: 'fenye',
      component: fenye,
    },
    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/found',
      name: 'found',
      component: found
    },
     {
      path: '/foundspell',
      name: 'foundspell',
      component: foundspell
    },
    {
      path: '/coupon',
      name: 'coupon',
      component: coupon
    },
    {
      path: '/member',
      name: 'member',
      component: member
    },
     {
      path: '/membership',
      name: 'membership',
      component: membership
    },
    {
      path: '/shortnews',
      name: 'shortnews',
      component: shortnews
    },
    {
      path: '/qrcode',
      name: 'qrcode',
      component: qrcode
    },
    {
      path: '/writeoffquery',
      name: 'writeoffquery',
      component: writeoffquery
    },
    {
      path: '/mysign_up',
      name: 'mysign_up',
      component: mysign_up
    },
    {
      path: '/pactivity',
      name: 'pactivity',
      component: pactivity
    },
    {
      path: '/shopinfor',
      name: 'shopinfor',
      component: shopinfor
    },
    {
      path: '/security',
      name: 'security',
      component: security
    },
     {
      path: '/modifymember',
      name: 'modifymember',
      component: modifymember
    },
  ]
})
